package com.yf.ccdugtfood.bean;

import java.io.Serializable;
import java.math.BigDecimal;

//将类序列化之后可以在Activity之间传输数据
public class Food implements Serializable {
    private static final long serialVersionUID = 1L;
    private int id;          //id唯一标识
    private String fod_name; //菜名
    private String fod_pic;  //菜图
    private String fod_intr; //配料
    private String fod_ingr; //简介
    private BigDecimal fod_price; //价格
    private int rating;       //星级，数据库无，固定值
    private int count;        //购买数量


    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getFod_name() {
        return fod_name;
    }

    public void setFod_name(String fod_name) {
        this.fod_name = fod_name;
    }

    public String getFod_pic() {
        return fod_pic;
    }

    public void setFod_pic(String fod_pic) {
        this.fod_pic = fod_pic;
    }

    public String getFod_intr() {
        return fod_intr;
    }

    public void setFod_intr(String fod_intr) {
        this.fod_intr = fod_intr;
    }

    public String getFod_ingr() {
        return fod_ingr;
    }

    public void setFod_ingr(String fod_ingr) {
        this.fod_ingr = fod_ingr;
    }

    public BigDecimal getFod_price() {
        return fod_price;
    }

    public void setFod_price(BigDecimal fod_price) {
        this.fod_price = fod_price;
    }

    public int getRating() {
        return rating;
    }

    public void setRating(int rating) {
        this.rating = rating;
    }

    public int getCount() {
        return count;
    }

    public void setCount(int count) {
        this.count = count;
    }
}
